﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FanaticRock.Core.Enums;

namespace FanaticRock.AudioManage.Helpers
{
    public static class PlayModeEnumHelper
    {
        public static PlayModeEnum GetNextMode(PlayModeEnum currentState)
        {
            var array = Enum.GetValues(typeof(PlayModeEnum));
            var len = array.Length;
            return (PlayModeEnum)(((int)currentState + 1) % len);
        }
    }
}
